
.centered {
  margin: 0px auto;
  display: block;
}

.hidden {
  display: none;
}

input[type="text"]:focus.failed {
  background-color: pink;
  border-color: red;
  color: black;
}

input[type="text"] {
  display: block;
  margin: 0px auto;
  margin-top: 1em;
  padding-left: 0.4em;
  height: 1.7em;
  width: 50%;
  color: #999;
  font-family: sans-serif;
  font-size: 2.2em;
  border: solid 2px #dcdcdc;
  transition: box-shadow 0.3s, border 0.3s;
  box-shadow: inset 1px 1px 2px 0 #707070;
  appearance: none;
  border-radius: 2px;
}

input[type="text"]:focus {
  border: solid 2px #707070;
  box-shadow: inset 1px 1px 2px 0 #c9c9c9;
}

.message {
  width: 50%;
  font-size: 2em;
  margin-top: 1.5em;
  color: #860000;
}
